package metamap.proxy.server;

import javax.xml.ws.Endpoint;

public class Publisher {
	public static void main(String[] args) {
		// String endpoint= "http://localhost:7071/Metamap";
		String endpoint = "http://bioeda2.polito.it:7071/Metamap";
		try {
			Endpoint.publish(endpoint, new MetamapServiceImpl());
			System.out.println("Publishing " + endpoint);
		} catch (Exception e) {
			System.out.println("ERRORE:\n " + e.getMessage() + "\n");
			e.printStackTrace();
			e.getCause().printStackTrace();
		}

	}
}
